package com.ruicar.afs.cloud.afscase.loangpsruleinfo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.afscase.loangpsruleinfo.entity.LoanGpsRuleInfo;

/**
 * @author: yk.Li
 * @date 2020-07-22 05:37:38
 * @description GPS安装规则配置表 service类
 */
public interface LoanGpsRuleInfoService extends IService<LoanGpsRuleInfo> {
    /**
     * @param
     * @description 通过业务规则id使规则失效
     * @author yk.Li
     * @date 2020/7/6
     */
    void deActiveRuleByRuleNo(Long[] ids);

    /**
     * @param
     * @description 停用规则
     * @author yk.Li
     * @date 2020/7/6
     */
    void deActiveRule(Long id);

    /**
     * @param
     * @description 启用规则
     * @author yk.Li
     * @date 2020/7/6
     */
    void activeRule(Long id);

    /**
     * @param
     * @description 更新gps同步信息
     * @author yk.Li
     * @date 2020/7/24
     */
    void updateGpsRulesInfo(Long id);
}
